package org.one.afternoon.mapper;


import org.apache.ibatis.annotations.Mapper;
import org.one.afternoon.domain.Activity;
import org.one.afternoon.domain.Blog;

import java.util.List;

@Mapper
public interface ActivityMapper {


    List<Activity> findAll();

    List<Activity> queryOne(Activity activity);

    boolean insert(Activity activity);

    boolean delete(int id);

    boolean update(Activity activity);
}
